package com.cqie.secondhandtransaction.service;

import com.cqie.secondhandtransaction.DTO.UserDTO;
import com.cqie.secondhandtransaction.controller.params.RegisterParam;
import com.cqie.secondhandtransaction.DTO.UserDetailsDTO;
import com.cqie.secondhandtransaction.controller.params.LoginParam;
import com.cqie.secondhandtransaction.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gdy
 * @since 2025-02-10
 */
public interface UserInfoService extends IService<UserInfo> {

    UserDetailsDTO login(LoginParam param);

    void register(RegisterParam param, MultipartFile picture);

    void updateUserInfo(UserDTO userInfo, MultipartFile picture);

    void deleteUserInfo(Long id);

}
